import Vue from 'vue'
import VueI18n from 'vue-i18n'
import LangEn from '../../../../static/lang/english.js'
import LangCh from '../../../../static/lang/china.js'
import LangGe from '../../../../static/lang/german.js'
import Italy from '../../../../static/lang/Italy.js'
import Denmark from '../../../../static/lang/Denmark.js'
import French from '../../../../static/lang/French.js'
import Portugal from '../../../../static/lang/Portugal.js'
import Sweden from '../../../../static/lang/Sweden.js'
import Spain from '../../../../static/lang/Spain.js'
import Netherlands from '../../../../static/lang/Netherlands.js'




Vue.use(VueI18n)
const i18n = new VueI18n({
  locale: 'en', //默认英语
  messages: {
    'de': LangGe,//德语
    'local': LangGe, // 德语
    'zh-CN': LangCh, // 中文
    'en-US': LangEn, // 英语
    'en': LangEn, // 英语

    'it': Italy, //意大利

    'da': Denmark,//丹麦

    'fr-be': French,//法语
    'fr-ch': French,//法语
    'fr': French,//法语

    'af': Netherlands,//荷兰语
    'af-ZA': Netherlands,//荷兰语

    'pt-BR': Portugal,//葡萄牙
    'pt': Portugal,//葡萄牙
    'pt-PT': Portugal,//葡萄牙


    'es': Spain,//西班牙

    'sv': Sweden,//瑞典
    'sv-FI': Sweden,//瑞典
    'sv-SE': Sweden,//瑞典



  }
})
export default i18n
